<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">

for(var i = 10;i>=0;i--){
	alert(i);
}

</script>
</body>
</html>